<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>rem+手写js实现响应式布局</title>
    <link rel="stylesheet" href="./style.css" />
    <script type="importmap">
      {
        "imports": {
          "@mobile-adaptation/core": "../../node_modules/@mobile-adaptation/core/index.js"
        }
      }
    </script>
  </head>
  <body>
    <div class="box"></div>
    <script type="module">
      import { responsiveAdaptation } from "@mobile-adaptation/core";
      responsiveAdaptation(40);
    </script>
  </body>
</html>
